#pragma once

namespace SMB {

	using namespace System;
	using namespace System::ComponentModel;
	using namespace System::Collections;
	using namespace System::Windows::Forms;
	using namespace System::Data;
	using namespace System::Drawing;

	/// <summary>
	/// Summary for MyForm
	/// </summary>
	public ref class MyForm : public System::Windows::Forms::Form
	{
	public:
		MyForm(void)
		{
			InitializeComponent();
			//
			//TODO: Add the constructor code here
			//
		}

	protected:
		/// <summary>
		/// Clean up any resources being used.
		/// </summary>
		~MyForm()
		{
			if (components)
			{
				delete components;
			}
		}
	private: System::Windows::Forms::TextBox^  usernameInput;
	private: System::Windows::Forms::TextBox^  passwordInput;
	private: System::Windows::Forms::Label^  label1;
	private: System::Windows::Forms::Label^  label2;
	private: System::Windows::Forms::TextBox^  amountOfAccounts;
	private: System::Windows::Forms::WebBrowser^  webBrowser;
	public:
		[BrowsableAttribute(false)]
		property HtmlDocument^ Document {
			HtmlDocument^ get();
		}
	protected:

	protected:

	private:
		/// <summary>
		/// Required designer variable.
		/// </summary>
		System::ComponentModel::Container ^components;

#pragma region Windows Form Designer generated code
		/// <summary>
		/// Required method for Designer support - do not modify
		/// the contents of this method with the code editor.
		/// </summary>
		void InitializeComponent(void)
		{
			this->usernameInput = (gcnew System::Windows::Forms::TextBox());
			this->passwordInput = (gcnew System::Windows::Forms::TextBox());
			this->label1 = (gcnew System::Windows::Forms::Label());
			this->label2 = (gcnew System::Windows::Forms::Label());
			this->amountOfAccounts = (gcnew System::Windows::Forms::TextBox());
			this->webBrowser = (gcnew System::Windows::Forms::WebBrowser());
			this->SuspendLayout();
			// 
			// usernameInput
			// 
			this->usernameInput->Location = System::Drawing::Point(12, 16);
			this->usernameInput->Name = L"usernameInput";
			this->usernameInput->Size = System::Drawing::Size(155, 20);
			this->usernameInput->TabIndex = 0;
			this->usernameInput->TextChanged += gcnew System::EventHandler(this, &MyForm::usernameInput_TextChanged);
			// 
			// passwordInput
			// 
			this->passwordInput->Location = System::Drawing::Point(12, 57);
			this->passwordInput->Name = L"passwordInput";
			this->passwordInput->PasswordChar = '*';
			this->passwordInput->Size = System::Drawing::Size(155, 20);
			this->passwordInput->TabIndex = 1;
			this->passwordInput->TextChanged += gcnew System::EventHandler(this, &MyForm::passwordInput_TextChanged);
			// 
			// label1
			// 
			this->label1->AutoSize = true;
			this->label1->Location = System::Drawing::Point(10, 3);
			this->label1->Name = L"label1";
			this->label1->Size = System::Drawing::Size(61, 13);
			this->label1->TabIndex = 2;
			this->label1->Text = L"Username :";
			// 
			// label2
			// 
			this->label2->AutoSize = true;
			this->label2->Location = System::Drawing::Point(13, 43);
			this->label2->Name = L"label2";
			this->label2->Size = System::Drawing::Size(59, 13);
			this->label2->TabIndex = 3;
			this->label2->Text = L"Password :";
			// 
			// amountOfAccounts
			// 
			this->amountOfAccounts->Location = System::Drawing::Point(233, 16);
			this->amountOfAccounts->Name = L"amountOfAccounts";
			this->amountOfAccounts->Size = System::Drawing::Size(39, 20);
			this->amountOfAccounts->TabIndex = 4;
			this->amountOfAccounts->TextChanged += gcnew System::EventHandler(this, &MyForm::amountOfAccounts_TextChanged);
			// 
			// webBrowser
			// 
			this->webBrowser->AllowWebBrowserDrop = false;
			this->webBrowser->IsWebBrowserContextMenuEnabled = false;
			this->webBrowser->Location = System::Drawing::Point(12, 83);
			this->webBrowser->MinimumSize = System::Drawing::Size(20, 20);
			this->webBrowser->Name = L"webBrowser";
			this->webBrowser->ScriptErrorsSuppressed = true;
			this->webBrowser->Size = System::Drawing::Size(260, 137);
			this->webBrowser->TabIndex = 5;
			this->webBrowser->Url = (gcnew System::Uri(L"https://app.tutanota.de/#register", System::UriKind::Absolute));
			this->webBrowser->WebBrowserShortcutsEnabled = false;
			this->webBrowser->DocumentCompleted += gcnew System::Windows::Forms::WebBrowserDocumentCompletedEventHandler(this, &MyForm::webBrowser_DocumentCompleted);
			// 
			// MyForm
			// 
			this->AutoScaleDimensions = System::Drawing::SizeF(6, 13);
			this->AutoScaleMode = System::Windows::Forms::AutoScaleMode::Font;
			this->AutoValidate = System::Windows::Forms::AutoValidate::EnablePreventFocusChange;
			this->ClientSize = System::Drawing::Size(284, 262);
			this->Controls->Add(this->webBrowser);
			this->Controls->Add(this->amountOfAccounts);
			this->Controls->Add(this->label2);
			this->Controls->Add(this->label1);
			this->Controls->Add(this->passwordInput);
			this->Controls->Add(this->usernameInput);
			this->Cursor = System::Windows::Forms::Cursors::Default;
			this->FormBorderStyle = System::Windows::Forms::FormBorderStyle::SizableToolWindow;
			this->MaximizeBox = false;
			this->MinimizeBox = false;
			this->Name = L"MyForm";
			this->RightToLeft = System::Windows::Forms::RightToLeft::No;
			this->ShowIcon = false;
			this->StartPosition = System::Windows::Forms::FormStartPosition::CenterScreen;
			this->Text = L"Social Media Bot";
			this->Load += gcnew System::EventHandler(this, &MyForm::MyForm_Load);
			this->ResumeLayout(false);
			this->PerformLayout();

		}
#pragma endregion
	private: System::Void MyForm_Load(System::Object^  sender, System::EventArgs^  e) 
	{

	}
private: System::Void usernameInput_TextChanged(System::Object^  sender, System::EventArgs^  e) 
{
}
	private: System::Void webBrowser_DocumentCompleted(System::Object^  sender, System::Windows::Forms::WebBrowserDocumentCompletedEventArgs^  e);
private: System::Void passwordInput_TextChanged(System::Object^  sender, System::EventArgs^  e) {
}
private: System::Void amountOfAccounts_TextChanged(System::Object^  sender, System::EventArgs^  e) {
}
};
}
